package com.jic.order.service;

import com.jic.common.base.vo.Page;
import com.jic.order.entity.OrderAfterSaleFlowRecordModel;
import com.jic.common.base.vo.PageResult;
import java.util.Map;

/**
 *  订单售后流水表 服务类
 *
 * @author xuyongliang
 * @since 2020-02-01
 */

public interface OrderAfterSaleFlowRecordService {

    /**
     * 订单售后流水表 新增
     * @param modelEntity
     */
    Integer orderAfterSaleFlowRecordAdd(OrderAfterSaleFlowRecordModel modelEntity);

    /**
     * 订单售后流水表 编辑
     * @param modifyEntity
     * @param whereCondition
     */
    Integer orderAfterSaleFlowRecordEdit(OrderAfterSaleFlowRecordModel modifyEntity, OrderAfterSaleFlowRecordModel whereCondition);

    /**
     * 订单售后流水表 删除
     * @param \
     */
    Integer orderAfterSaleFlowRecordDelete(Map map);

    /**
     * 订单售后流水表 查询详情
     * @param
     */
    OrderAfterSaleFlowRecordModel orderAfterSaleFlowRecordQuery(Map map);

    /**
     * 订单售后流水表 分页查询
     * @param
     */
    PageResult<OrderAfterSaleFlowRecordModel> orderAfterSaleFlowRecordQueryPageList(OrderAfterSaleFlowRecordModel modelEntity, Page pageQuery);

    /**
    *  订单售后流水表 修改单据状态
    *  @param \
    */
    Integer orderAfterSaleFlowRecordChangeStatus(Map map);

    /**
     *  订单售后流水表 修改审批状态
     * @param \
     */
    Integer orderAfterSaleFlowRecordChangeApproveStatus(Map map);

}